///************************************************************************
/// <copyrigth>2018-2019 Corporation.All Rights Reserved</copyrigth>
/// <author>tangyingzhong</author>
/// <contact>tangyz114987@outlook.com</contact>
/// <version>v1.0.0</version>
/// <describe>
/// Common tools 
///</describe>
/// <date>2019/7/25</date>
///***********************************************************************
#ifndef COMMONTOOL_H
#define COMMONTOOL_H

#include <vector>
#include <string>

namespace SystemTool
{
	class CommonTool
	{
	public:
		// Get current process id
		static int GetCurProcessId();

		// Get current thread id
		static int GetCurThreadID();

		// Split the string
		static bool Split(std::string strData, std::string strSeperator, std::vector<std::string>& vTable);
	};
}

#endif // COMMONTOOL_H
